package com.topscomm.main.hessian;

import org.springframework.boot.configurationprocessor.json.JSONArray;
import org.springframework.boot.configurationprocessor.json.JSONException;

import java.text.ParseException;
import java.util.List;
import java.util.Map;

public interface IBaseChangeLogService {
	// 保存basechangelog表记录
	boolean isSaveChangeLog(Map<String, Object> map, String tableName, String string);
	// 删除basechangelog
	int deleteByWhere(String whereSql);
	// 保存basechangelog信息
	void insertLogMap(Map<String, Object> logMap);
	// 比对数据方法
	String compareDataForMpm(Map<String, Object> oldMap, Map<String, Object> newMap,
					  List<Map<String, Object>> baseProperties, String baselogoperatetype)throws JSONException, ParseException;
	// 根据入参查询不同客户表的历史记录, 根据创建时间倒叙排序
	List<Map<String, Object>> queryChangeLogByOptions(Map<String, Object> paraMap) throws Exception;
}
